#ifndef __TEXTMENU_H__
#define __TEXTMENU_H__


#define MAX_MENU                4

const char *menuItems[MAX_MENU] = {
    "1.Blink",
    "2.LED OFF",
    "3.LED ON",
    "4.Brightness",
};

typedef struct _textMenuItem_t {



} textMenuItem_t;


typedef (unsigned char)(*pFunc)(void);
typedef(void)(*PFuncArray[MAX_MENU])(void);

typedef struct _textMenu_t {
    unsigned char *pTmenuList[MAX_MENU];
    unsigned char textMenuSize;
    char curMenuID;
    pFunc KeyUpCheck;
    pFunc KeyUpCallback;
    pFunc KeyDownCheck;
    pFunc KeyDownCallback;
    pFunc KeySelectCheck;
    PFuncArray eySelectCallback;
} textMenu_t, pTextMenu_t;

textMenu_t textMenu;

void textMenu_Init(pTextMenu_t pTextMenu);




#endif
